<div class='accordion'>
	<h3><a href="#">Configuration</a></h3>
	<div>
		<form name='formAdminIdentIpboard' action='' method='post'>
			<table style='width: 100%;' cellspacing='0' cellpadding='2' class='ui-corner-all ui-widget-content'>
				<tr class='tr1'>
					<td style='width: 250px;'>Filtrage des membres par groupe : </td>
					<td>
						
						<div class='ident_ipboard_groupes'>
							<?
							$groupes=util_makeArray($GLOBALS["CONFIG"]["ident_ipboard"]["groupes"],","); 
							$res=$sql->request("select g_id,g_title from ibf_groups order by g_title");
							foreach($res as $groupe){
								?>
							<div class='ident_ipboard_groupesItem'>
								<table cellspacing='0' cellpadding='1'>
									<tr>
										<td>
											<input type='hidden' class='nom' value='<?php echo $groupe->g_id; ?>' />
											<? echo $groupe->g_title; ?>
										</td>
										<td style='width: 10px; border-width: 0px; border-left: 1px solid #000000;' onmouseover='$(this).addClass("ui-state-hover");' onmouseout='$(this).removeClass("ui-state-hover");' onclick='ident_ipboardGroupesToggle(this);'>
											<span class="ui-icon ui-icon-<?php if(in_array($groupe->g_id,$groupes)) echo "check"; else echo "minus";?> tooltip" title='Filtrer ce groupe'></span>
										</td>
									</tr>
								</table>
							</div>
							<?php  } ?>
						</div>
						<input type='hidden' name='cfg_groupes' id='cfg_groupes' value='<?php echo $GLOBALS["CONFIG"]["ident_ipboard"]["groupes"]; ?>' />
					</td>
				</tr>
			</table>
			<br />
			<div class='align-center'><a href="#" onclick='open_loading(); document.formAdminIdentIpboard.submit();' class="a-button ui-state-default ui-corner-all"><span class="ui-icon ui-icon-disk"></span>Enregistrer</a></div>
			<br />
			<input type='hidden' name='action' value='enregistrer_configuration' />
		</form>
	</div>
</div>